package com.rs.game.player.dialogues;

public class TzHaarKet extends Dialogue {
	
	private int npcId;

	@Override
	public void start() {
		npcId = (Integer) parameters[0];
		sendNPCDialogue(npcId, 9827, "Heard you saw Kiln, JalYt. Kiln birth-place of TzHaar. You very lucky.");
	}

	@Override
	public void run(int interfaceId, int componentId) {
		switch (stage) {
		case -1:
			sendNPCDialogue(npcId, 9827, "You long way from Plaza. If you want I can bank some of your equipment.");
			stage = 0;
			break;
		case 0:
			sendOptionsDialogue("Access your bank?", "Yes", "No");
			stage = 1;
			break;
		case 1:
			switch (componentId) {
			case OPTION_1:
				player.getBank().openBank();
				end();
				break;
			case OPTION_2:
				end();
				break;
			}
		}
	}

	@Override
	public void finish() {
		// TODO Auto-generated method stub
		
	}
	
}